package com.pap.msg.message.mapper;

import com.pap.base.mapper.PapBaseMapper;
import com.pap.msg.message.entity.MsgContent;
import java.util.List;
import java.util.Map;

import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;;

@Mapper
public interface MsgContentMapper extends PapBaseMapper<MsgContent> {
    int deleteByPrimaryKey(String msgContentId);

    int selectCountByMap(Map<Object, Object> map);

    List<MsgContent> selectListByMap(Map<Object, Object> map);

    MsgContent selectByPrimaryKeyAndTableName(@Param("id") String id, @Param("dynamicTableName") String dynamicTableName);

    int deleteByPrimaryKeyAndTableName(@Param("id") String id, @Param("dynamicTableName") String dynamicTableName);

    int insert(MsgContent record);

    int insertSelective(MsgContent record);

    MsgContent selectByPrimaryKey(String msgContentId);

    int updateByPrimaryKeySelective(MsgContent record);

    int updateByPrimaryKey(MsgContent record);
}